home *** CD-ROM | disk | FTP | other *** search
- From: Peter_Missel@m4.maus.de (Peter Missel)
- Subject: RE: Gem Listing (fwd)
- Date: Sat, 09 Jul 94 11:48:00 GMT
- X-Gateway: MausGate/Mail 1.22/k
- Mime-Version: 1.0
- Precedence: bulk
-
- Kommentar zu P26689@K0 in der Gruppe Persvnliche
-
- Morning!
-
- >+------------------------+
- >| |
- >| |
- >| +--------------------+ |
- >| | | |
- >| | | |
- >| +--------------------+ |
- >+------------------------+
- >
- >and I need to trigger an event as the mouse passes into or out of the
- >inner
- >rectangle.
-
- Setup an event_multi( MU_M1 | MU_M2 | ... ) with the window work area and
- "watch for the mouse leaving the rectangle" as rectangle event #1. Rect #2
- would be the small box and "enter rect".
-
- You'd then immediately get an MU_M1 event if the mouse already was outside
- the window, and an MU_M2 if the mouse already was inside the small box.
-
- On an MU_M2 event, you'd change the rect event #2 to "leave rect" (the
- mouse now is inside, and you'll have to track the mouse leaving it).
- Handle MU_M1 accordingly to track "inside/outside window".
-
- That's not too hard, is it?
-
- bye, Peter
-